from rest_framework.viewsets import GenericViewSet

from utils import mixins


class CustomModelViewSet(mixins.CustomCreateModelMixin,
                         mixins.CustomRetrieveModelMixin,
                         mixins.CustomUpdateModelMixin,
                         mixins.CustomDestroyModelMixin,
                         mixins.CustomListModelMixin,
                         GenericViewSet):
    """
        A viewset that provides default `create()`, `retrieve()`, `update()`,
        `partial_update()`, `destroy()` and `list()` actions.
        """
    pass
